/*
 *	DATA.H
 *	Tom Kerrigan's Simple Chess Program (TSCP)
 *
 *	Copyright 1997 Tom Kerrigan
 */
/* this is basically a copy of data.c that's included by most
   of the source files so they can use the data.c variables */

//extern int nodes;

extern unsigned char tempi;
extern unsigned char autorpt;

//extern char line[25];
extern unsigned int adbookh;
extern unsigned int adbook;
extern unsigned int adbookl;

extern unsigned int ouv[32];
extern unsigned char lastx;
extern unsigned char soluce;

extern unsigned char inkey;

extern unsigned char leds_sel, leds_state;
extern unsigned char old_sel, old_state;
extern char color[64];
extern char piece[64];
extern unsigned char computer_side;
extern unsigned char side;
extern unsigned char xside;
extern unsigned char matpat;

extern char kingpos[2];
extern char castle;
extern char ep;
extern char fifty;
extern char ply;
extern char hply;
extern hist_t hist_dat[HIST_STACK];
extern char max_depth;

extern gen_t gen_dat[GEN_STACK];

extern short first_move[MAX_PLY];
extern move pv[MAX_PLY][MAX_PLY];
extern char pv_length[MAX_PLY];
extern char follow_pv;

extern int ChopinF[42];
extern char ChopinL[42];
extern int PinkPantF[75];
extern char PinkPantL[76];
extern int CheckF[4];
extern char CheckL[5];
extern int StartF[4];
extern char StartL[5];
extern int DameF[4];
extern char DameL[5];

extern char from127[127];
extern char to127[127];
extern char mailbox[120];
extern char mailbox64[64];
extern char slide[6];
extern char offsets[6];
extern char offset[6][8];
extern char castle_mask[64];
extern char init_color[64];
extern char init_piece[64];
extern unsigned char tot_piece0[6];
